package com.eleme.address.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * 添加地址DTO
 */
@Data
public class AddressAddDTO {
    @NotBlank(message = "用户ID不能为空")
    private String userId;
    @NotBlank(message = "联系人不能为空")
    private String contactName;
    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;
    @NotBlank(message = "详细地址不能为空")
    private String detail;
    private String label;
    private Integer isDefault;
} 